type database/sql.driverConn

41 uses

	database/sql (current package)
		sql.go#L468: 	freeConn     []*driverConn // free connections ordered by returnedAt oldest to newest
		sql.go#L480: 	lastPut           map[*driverConn]string // stacktrace of last conn's put; debug only
		sql.go#L510: type driverConn struct {
		sql.go#L528: func (dc *driverConn) releaseConn(err error) {
		sql.go#L532: func (dc *driverConn) removeOpenStmt(ds *driverStmt) {
		sql.go#L538: func (dc *driverConn) expired(timeout time.Duration) bool {
		sql.go#L547: func (dc *driverConn) resetSession(ctx context.Context) error {
		sql.go#L562: func (dc *driverConn) validateConnection(needsReset bool) bool {
		sql.go#L577: func (dc *driverConn) prepareLocked(ctx context.Context, cg stmtConnGrabber, query string) (*driverStmt, error) {
		sql.go#L601: func (dc *driverConn) closeDBLocked() func() error {
		sql.go#L611: func (dc *driverConn) Close() error {
		sql.go#L628: func (dc *driverConn) finalClose() error {
		sql.go#L789: 		lastPut:      make(map[*driverConn]string),
		sql.go#L835: func (db *DB) pingDC(ctx context.Context, dc *driverConn, release func(error)) error {
		sql.go#L849: 	var dc *driverConn
		sql.go#L972: 	var closing []*driverConn
		sql.go#L1106: func (db *DB) connectionCleanerRunLocked(d time.Duration) (time.Duration, []*driverConn) {
		sql.go#L1108: 	var closing []*driverConn
		sql.go#L1256: 	dc := &driverConn{
		sql.go#L1274: 	conn *driverConn
		sql.go#L1289: func (db *DB) conn(ctx context.Context, strategy connReuseStrategy) (*driverConn, error) {
		sql.go#L1404: 	dc := &driverConn{
		sql.go#L1417: var putConnHook func(*DB, *driverConn)
		sql.go#L1422: func (db *DB) noteUnusedDriverStatement(c *driverConn, ds *driverStmt) {
		sql.go#L1445: func (db *DB) putConn(dc *driverConn, err error, resetSession bool) {
		sql.go#L1506: func (db *DB) putConnDBLocked(dc *driverConn, err error) bool {
		sql.go#L1598: func (db *DB) prepareDC(ctx context.Context, dc *driverConn, release func(error), cg stmtConnGrabber, query string) (*Stmt, error) {
		sql.go#L1664: func (db *DB) execDC(ctx context.Context, dc *driverConn, release func(error), query string, args []any) (res Result, err error) {
		sql.go#L1744: func (db *DB) queryDC(ctx, txctx context.Context, dc *driverConn, releaseConn func(error), query string, args []any) (*Rows, error) {
		sql.go#L1877: func (db *DB) beginDC(ctx context.Context, dc *driverConn, release func(error), opts *TxOptions) (tx *Tx, err error) {
		sql.go#L1924: 	var dc *driverConn
		sql.go#L1969: 	dc *driverConn
		sql.go#L1979: func (c *Conn) grabConn(context.Context) (*driverConn, releaseConn, error) {
		sql.go#L2049: 	var dc *driverConn
		sql.go#L2152: 	dc  *driverConn
		sql.go#L2222: func (tx *Tx) grabConn(ctx context.Context) (*driverConn, releaseConn, error) {
		sql.go#L2547: 	dc *driverConn
		sql.go#L2556: 	grabConn(context.Context) (*driverConn, releaseConn, error)
		sql.go#L2699: func (s *Stmt) connStmt(ctx context.Context, strategy connReuseStrategy) (dc *driverConn, releaseConn func(error), ds *driverStmt, err error) {
		sql.go#L2752: func (s *Stmt) prepareOnConnLocked(ctx context.Context, dc *driverConn) (*driverStmt, error) {
		sql.go#L2917: 	dc          *driverConn // owned; must call releaseConn when closed to release